package string;

public class TrimDemo {
    public static void main(String[] args) {
        String line = "  Hello      ";
        String trim = line.trim();
        System.out.println(line);
        System.out.println(trim);

    }
}
